package com.atguigu.spzx.cart.api.anno;

import com.atguigu.spzx.cart.api.fallback.CartClientFallback;
import com.atguigu.spzx.cart.api.interceptor.AddTokenInterceptor;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author LT
 * @create 2023-11-21-19:05
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableFeignClients(basePackages = "com.atguigu.spzx")
@Import({CartClientFallback.class , AddTokenInterceptor.class})
public @interface EnableCartClient {
}
